package com.zzyy.study;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @auther zzyy
 * @create 2024-03-07 16:52
 */
@SpringBootApplication
public class Main implements InitializingBean
{
    public static void main(String[] args)
    {
        System.out.println("--111111");
        SpringApplication.run(Main.class,args);
        System.out.println("--2222222");
    }

    @Override
    public void afterPropertiesSet() throws Exception
    {
        System.out.println("-----hello InitializingBean");
    }
}